The JSON object must be str bytes or bytearray not list